/*
 *	数组初始化演示
 */

#include<stdio.h>

int main() {	
	int arr[4] = {1,2,3,4};
	for (int i = 0; i <= 3; i++) {
		printf("%d ", arr[i]);
	}
	printf("\n");

	int arr1[4] = {1,2};
	for (int i = 0; i <= 3; i++) {
		printf("%d ", arr1[i]);
	}
	printf("\n");
	return 0;
}
